package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 组织信息对象 organization
 * 
 * @author ruoyi
 * @date 2025-09-19
 */
public class Organization extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 组织ID */
    @Excel(name = "组织ID")
    private String orgId;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** 描述 */
    @Excel(name = "描述")
    private String orgDescription;

    /** 大模型接口 */
    @Excel(name = "大模型接口")
    private String llmApiUrl;

    /** 认证接口 */
    @Excel(name = "认证接口")
    private String authApiUrl;

    /** 成员数量 */
    @Excel(name = "成员数量")
    private Long memberLimit;

    /** 校验密码 */
    @Excel(name = "校验密码")
    private String code;

    /** 组织状态 */
    @Excel(name = "组织状态")
    private Integer status;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creatorUserId;

    /** 地区 */
    @Excel(name = "地区")
    private String region;

    /** 创建时间 */
    private Date createdAt;

    /** 更新时间 */
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrgId(String orgId) 
    {
        this.orgId = orgId;
    }

    public String getOrgId() 
    {
        return orgId;
    }

    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }

    public void setOrgDescription(String orgDescription) 
    {
        this.orgDescription = orgDescription;
    }

    public String getOrgDescription() 
    {
        return orgDescription;
    }

    public void setLlmApiUrl(String llmApiUrl) 
    {
        this.llmApiUrl = llmApiUrl;
    }

    public String getLlmApiUrl() 
    {
        return llmApiUrl;
    }

    public void setAuthApiUrl(String authApiUrl) 
    {
        this.authApiUrl = authApiUrl;
    }

    public String getAuthApiUrl() 
    {
        return authApiUrl;
    }

    public void setMemberLimit(Long memberLimit) 
    {
        this.memberLimit = memberLimit;
    }

    public Long getMemberLimit() 
    {
        return memberLimit;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setCreatorUserId(String creatorUserId) 
    {
        this.creatorUserId = creatorUserId;
    }

    public String getCreatorUserId() 
    {
        return creatorUserId;
    }

    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orgId", getOrgId())
            .append("orgName", getOrgName())
            .append("orgDescription", getOrgDescription())
            .append("llmApiUrl", getLlmApiUrl())
            .append("authApiUrl", getAuthApiUrl())
            .append("memberLimit", getMemberLimit())
            .append("code", getCode())
            .append("status", getStatus())
            .append("creatorUserId", getCreatorUserId())
            .append("region", getRegion())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
